// 用户评论组件统一导出

export { default as CommentTree } from "./CommentTree.vue";
export { default as CommentItem } from "./CommentItem.vue";
export { default as CommentPublisher } from "./CommentPublisher.vue";
export { default as CommentImageUpload } from "./CommentImageUpload.vue";
export { default as CommentImageViewer } from "./CommentImageViewer.vue";

// 导出类型定义
export type {
  ArticleCommentResponse,
  CommentTreeQuery,
  CreateCommentRequest,
  LikeCommentRequest,
  LikeCommentResponse,
  CommentStats,
  UserInfo,
  PageResponse,
  ApiResponse
} from "@/api/user-comment";

// 导出API函数
export {
  getCommentTreeApi,
  getArticleCommentsApi,
  createCommentApi,
  likeCommentApi,
  deleteCommentApi,
  getCommentStatsApi,
  UserCommentUtils
} from "@/api/user-comment";

// 导出图片相关API函数
export {
  generateUploadTokenApi,
  uploadCommentImageApi,
  getTempImagesApi,
  createCommentWithImagesApi,
  getCommentImagesApi,
  getBatchCommentImagesApi,
  deleteCommentImageApi,
  validateImageApi,
  CommentImageUtils
} from "@/api/comment-image";
